<script setup lang="ts">
defineOptions({
  name: 'App'
})
import LayoutStore from "@/store/modules/setting.ts";
const layoutStore = LayoutStore();
</script>

<template>
<!--  <Loading v-show="layoutStore.isLoading"></Loading>-->
  <a-spin v-show="layoutStore.isLoading" size="large" class="loading"></a-spin>
  <router-view v-show="!layoutStore.isLoading"></router-view>
</template>

<style scoped>
.loading{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
}
</style>
